/**
 * @Author：ming
 * @Date：2023/9/25 10:40 PM
 * @Filename：Lc28_1
 */

/**
 * @author ming
 */
public class Lc28_1 {
    public int strStr(String haystack, String needle) {
        int i = -1;
         i = haystack.indexOf(needle);
        return i;

    }
}
